package com.cskaoyan.service.topic.admin;


import com.cskaoyan.bean.ListData;
import com.cskaoyan.bean.Topic;
import com.cskaoyan.bean.topic.CreateTopicBO;
import com.cskaoyan.bean.topic.UpdateTopicBO;

public interface TopicService {


    ListData<Topic> list(String page, String limit, String title, String subtitle, String sort, String order);

    boolean delete(int id);

    boolean create(CreateTopicBO createTopicBO);

    boolean update(UpdateTopicBO updateTopicBO);

    int selectMaxId();

    Topic selectByPrimaryKey(int i);
}
